package 枚举_引用.surpermarket;

import 枚举_引用.Category;

import java.util.Locale;

//商品
public class Merchandise {
    private String name;
    private String id;
    private int count;
    private double soldPrice;  //出售
    private double purchasePrice; //购买
    private Category category;  //类别

    public Merchandise() {
    }

    public Merchandise(String name, String id, int count, double soldPrice, double purchasePrice, Category category) {
        this.name = name;
        this.id = id;
        this.count = count;
        this.soldPrice = soldPrice;
        this.purchasePrice = purchasePrice;
        this.category = category;
    }


}
